using System;
using System.Collections.Generic;
using UnityEngine;

namespace BitMango
{
	public static class WWWBitMango
	{
		public static string GetParametar(Dictionary<string, string> dic)
		{
			string text = string.Empty;
			foreach (KeyValuePair<string, string> keyValuePair in dic)
			{
				text = string.Concat(new string[]
				{
					text,
					keyValuePair.Key,
					"=",
					keyValuePair.Value,
					"&"
				});
			}
			return WWW.EscapeURL(Encryptor.Encrypt(text.Substring(0, text.Length - 1)));
		}
	}
}
